package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.saas.domain.entity.OnlinePaymentFlowEntity;

import java.util.List;
import java.util.Map;


/**
 * @author bomfish
 */
public interface OnlinePaymentFlowModel extends IModel<OnlinePaymentFlowEntity> {
   Integer insert(OnlinePaymentFlowEntity entity) throws XbbException;

   void insertBatch(List<OnlinePaymentFlowEntity> list);

   List<OnlinePaymentFlowEntity> findEntities(Map<String, Object> param);

   Integer getEntityCount(Map<String, Object> param);

   Integer update(OnlinePaymentFlowEntity entity) throws XbbException;

   OnlinePaymentFlowEntity getByKey(Long key, String corpid);
}
